using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_NguoiQuanLyEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_NguoiQuanLyEntity()
         {
             tableName = "TBL_NguoiQuanLy";


			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","DiaChi","DiaChi","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","DienThoai","DienThoai","string",11,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","Email","Email","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","HoTen","HoTen","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","MaNhomQuanLy","MaNhomQuanLy","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","MaQuanLy","MaQuanLy","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","MatKhau","MatKhau","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","NgaySinh","NgaySinh","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NguoiQuanLy","TenDangNhap","TenDangNhap","string",50,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_DiaChi;
		 protected string m_DienThoai;
		 protected string m_Email;
		 protected string m_HoTen;
		 protected string m_MaNhomQuanLy;
		 protected string m_MaQuanLy;
		 protected string m_MatKhau;
		 protected string m_NgaySinh;
		 protected string m_TenDangNhap;

		 public string DiaChi

          { 
                get { 
                    return m_DiaChi;}

                set{m_DiaChi=value;

                    GetField("DiaChi").Set();
                    GetField("DiaChi").IsNull=(value == null);           
                    }
          }
		 public string DienThoai

          { 
                get { 
                    return m_DienThoai;}

                set{m_DienThoai=value;

                    GetField("DienThoai").Set();
                    GetField("DienThoai").IsNull=(value == null);           
                    }
          }
		 public string Email

          { 
                get { 
                    return m_Email;}

                set{m_Email=value;

                    GetField("Email").Set();
                    GetField("Email").IsNull=(value == null);           
                    }
          }
		 public string HoTen

          { 
                get { 
                    return m_HoTen;}

                set{m_HoTen=value;

                    GetField("HoTen").Set();
                    GetField("HoTen").IsNull=(value == null);           
                    }
          }
		 public string MaNhomQuanLy

          { 
                get { 
                    return m_MaNhomQuanLy;}

                set{m_MaNhomQuanLy=value;

                    GetField("MaNhomQuanLy").Set();
                    GetField("MaNhomQuanLy").IsNull=(value == null);           
                    }
          }
		 public string MaQuanLy

          { 
                get { 
                    return m_MaQuanLy;}

                set{m_MaQuanLy=value;

                    GetField("MaQuanLy").Set();
                    GetField("MaQuanLy").IsNull=(value == null);           
                    }
          }
		 public string MatKhau

          { 
                get { 
                    return m_MatKhau;}

                set{m_MatKhau=value;

                    GetField("MatKhau").Set();
                    GetField("MatKhau").IsNull=(value == null);           
                    }
          }
		 public string NgaySinh

          { 
                get { 
                    return m_NgaySinh;}

                set{m_NgaySinh=value;

                    GetField("NgaySinh").Set();
                    GetField("NgaySinh").IsNull=(value == null);           
                    }
          }
		 public string TenDangNhap

          { 
                get { 
                    return m_TenDangNhap;}

                set{m_TenDangNhap=value;

                    GetField("TenDangNhap").Set();
                    GetField("TenDangNhap").IsNull=(value == null);           
                    }
          }

}
}
